package com.project.service;

import com.project.bean.OutDrugBean;

import java.util.Map;

/**
 * @author RJ
 * @date 2022/9/15 19:36
 */
public interface IOutService {
    //添加物品
    void buy(Integer drugId, Map<Integer, OutDrugBean> map);

    //移除物品
    void remove(Integer drugId, Map<Integer, OutDrugBean> map);

    //修改商品数量
    void updateNum(Integer drugId, Map<Integer, OutDrugBean> map, int number);
}
